﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bricks.Site.Models.DBViewModel.Contract
{
    public class VMConstructionContractMeasurementPeriod
    {
        public Guid ID { get; set; }

        //类型：0表示开工预付款，1表示计量期次
        public int Type { get; set; }      

        //截止日期：支付时间
        public string EndDate { get; set; }

        //计量期次：支付款项
        public string ContractStagesNum { get; set; }

        //计量期次：支付款项
        public string ContractStages { get; set; }

        //合计
        public decimal? Total { get; set; }

        //暂列金
        public decimal? BehindTheGold { get; set; }

        //专项暂列金
        public decimal? SpecialBehindTheGold { get; set; }

        //预付金上期末
        public decimal? PrepaymentSQM { get; set; }

        //预付金本期
        public decimal? PrepaymentBQ { get; set; }

        //税金上期末
        public decimal? TaxSQM { get; set; }

        //税金本期
        public decimal? TaxBQ { get; set; }

        //保留金上期末
        public decimal? RetentionMoneySQM { get; set; }

        //保留金本期
        public decimal? RetentionMoneyBQ { get; set; }

        //农民工保障金上期末
        public decimal? MigrantWorkersProtectionSQM { get; set; }

        //农民工保障金本期
        public decimal? MigrantWorkersProtectionBQ { get; set; }

        //违约金上期末
        public decimal? PenaltySQM { get; set; }

        //违约金本期
        public decimal? PenaltyBQ { get; set; }

        //本期实际支付
        public decimal? ActualPayment { get; set; }

        //本期末累计支付
        public decimal? CumulativePayment { get; set; }  
    }

    public class StartAdvancePayment
    {
        public string ID { get; set; }

        public string ContractID { get; set; }

        public DateTime? PayTime { get; set; }

        public decimal? PayMoney { get; set; }
    }
}
